#{extends 'main.html' /}
#{set title: '登陆' /}

<form id="login" class="form-horizontal" action="/login" method="post">
    <fieldset  class="container">
        <h1 id="login_p">SZWB用户登陆</h1>
        <p>____________________________________________________________________<p>
        <div class="control-group">
            <div class="controls">
				#{if flash.error}
                <p style="color:#c00">
				${flash.error}
                </p>
				#{/if}
            </div>
        </div>
        <div style=" position: relative;left: 0px;top:0px" class="control-group">
            <div class="controls">
                <input type="text" class="input-xlarge" name="name" placeholder="账号/邮箱/手机号">
            </div>
        </div>
        <div style=" position: relative;left: 0px;top:0px"  class="control-group">
            <div class="controls">
                <input type="password" class="input-xlarge" name="password" placeholder="密码">
            </div>
        </div>
        
        <div style=" position: relative;left: 0px;top:0px"  class="control-group">
        	   <div class="controls">
        	   	 <input type="text" name="code" id="code" size="18" class="input-small" value=""  placeholder="请输入验证码"/>
        	   	 <img src="@{Application.captcha()}" width="80" length="130" />
        	   </div>
        </div>

        <div style=" position: relative;left: 0px;top:0px"  class="control-group">
            <div class="controls">
                <button type="submit" class="btn btn-primary">登陆</button>
                <input  style=" position: relative;left: 0px;top:2px" class="checkbox" type="checkbox">记住我
                <a href="/register">立即注册</a>
            </div>
        </div>
    </fieldset>
</form>

